<div class="notice">
    <div class="panel">
        <div class="panel-heading clearfix">
            <ul class="clearfix">
                <li ng-repeat="item in data.types" ng-click="getNotice(item.id)" class="pull-left" ng-class="{'active':typeId==item.id}"><a href="">{{::item.name}}</a></li>
            </ul>
        </div>
        <div class="panel-body">
            <div class="noticeItem" ng-repeat="item in data.datas">
                <a class="clearfix" ui-sref="noticeDetail({id:item.id})">
                    <span  class="index pull-left">{{$index+1}}</span>
                    <span class="title pull-left">{{item.name}}</span>
                    <span class="date  pull-right">{{item.updateTime}}</span>
                </a>
            </div>  
        </div>
    </div>
    <div class="paginationBox" ng-show="data.recordCount>10">
        <uib-pagination
            total-items="totalItems"
            ng-model="currentPage"
            ng-change="pageChange()"
            max-size="maxSize" 
            first-text="第一页" 
            previous-text="上一页" 
            next-text="下一页" 
            last-text="最后一页" 
            boundary-links="true" 
            boundary-link-numbers="true">
        </uib-pagination>
    </div>
</div>
